package com.caozhi.mspeoject.nb_insurance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.caozhi.mspeoject.nb_insurance.bean.Insurance;

import java.math.BigDecimal;
import java.util.List;

public interface InsuranceService extends IService<Insurance> {
    void addInsurance(Insurance insurance);
    void updateInsurance(Insurance insurance);
    void deleteInsurance(Insurance insurance);
    List<Insurance> getInsurance();
    BigDecimal getInsurancePrice(Long id);
    Insurance getInsuranceById(Long id);

}
